#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int i, j, k;
	for (i = 1; i <= 5; i++)
	{
		
		for (k = 0; k <= i; k++)
			printf(" ");
		for (j = 1; j <= 4; j++)
			if (i == 1 || i == 5 || j == 1 || j == 4)
				printf("*");
			else
				printf(" ");
		printf("\n");
	}
	return 0;
}